﻿using System.ComponentModel.DataAnnotations.Schema;
using System.Reflection;

namespace StudentManagementSystem.Entities
{
    public class Employee
    {
        public Guid Id { get; set; }

        public Guid CompanyId { get; set; }

        public string EmployeeNo { get; set; }

        // 名字
        public string FirstName { get; set; }

        // 姓氏
        public string LastName { get; set; }

        // 性别 (枚举类型)
        public Gender Gender { get; set; }

        // 出生日期
        public DateTime DateOfBirth { get; set; }

        // 导航属性：关联 Company 实体
        public Company Company { get; set; }
    }
}